package com.evildog.workspace.life.application.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.evildog.workspace.dependencies.mybatis.object.QueryConditionDTO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import com.evildog.workspace.life.application.entity.NoteBook;
import com.evildog.workspace.life.application.entity.NoteBookPageDO;
import com.evildog.workspace.life.application.entity.NoteBookListDO;
import com.evildog.workspace.life.application.dto.NoteBookPageDTO;
import com.evildog.workspace.life.application.dto.NoteBookListDTO;
import com.evildog.workspace.life.application.dto.NoteBookDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * noteBook Mapper 接口
 * </p>
 *
 * @author evildog
 * @since 2020-08-02
 */
public interface NoteBookMapper extends BaseMapper<NoteBook> {

    /**
    * 自定义分页
    */
    IPage<NoteBookPageDO> getPageList(IPage<NoteBookPageDO> page, @Param("queryCondition") List<QueryConditionDTO> queryConditions, @Param("param") NoteBookPageDTO pageDTO);

    /**
    * list
    */
    List<NoteBookListDO> getList(@Param("queryCondition") List<QueryConditionDTO> queryConditions, @Param("param") NoteBookListDTO param);
}
